<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="MSThemeCompatible" content="no" />
<title>添加Guide</title>
<link href="_{$adminbase}styles/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="_{$adminbase}scripts/ckeditor/ckeditor.js"></script>
<script src="_{$adminbase}scripts/ckeditor/sample.js" type="text/javascript"></script>
	<link href="_{$adminbase}scripts/ckeditor/sample.css" rel="stylesheet" type="text/css"/>


<body>
<div id="main">
<div class="xs_tl"> 
<div class="l"></div>
<div class="r"></div>
<div class="hackbox"></div>
</div>
<div>
</div>
_{if $errmsg!=''}
<div class="info">
_{$errmsg}
</div>
_{/if}
<div class="boxer">
<div id="OP_ListMaster">
<div class="header_1">添加Guide</div>
<div class="line_1"></div>
<form action="admin.php?action=guide-add" method="post" id="guide_add" name="guide_form">
	标题(title):<input type="text" name="title" id="title" value="" size="80" />
	所属地区:<select name="district" id="district">
		<option value="" checked></option>
		_{if $district[0]==NULL}
		<script type="text/javascript">
			alert('还没有地区，请创建后再发布Guide!');
			history.back(-1);
		</script>
		_{/if}
		_{section loop=$district name=option}
		<option value="_{$district[option].id}">_{$district[option].name}</option>
		_{/section}
	</select>
			<p>
				<label for="itinerary">
					内容(Content):</label><br/>
				<textarea class="ckeditor" cols="80" id="content" name="content" rows="10"></textarea>
			</p>
			
			<p>
				<input type="submit" value="提交(Submit)" />
			</p>
		</form>
</div>
</div>
<div class="xs_bl">
<div class="l"></div>
<div class="r"></div>
<div class="hackbox"></div>
</div>
</div>
</body>
</html>